//
//  ZJJLTableCell.m
//  Estate
//
//  Created by heyong on 16/6/2.
//  Copyright © 2016年 ttsx. All rights reserved.
//

#import "JLJLTableCell.h"

@implementation JLJLTableCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle=UITableViewCellSelectionStyleNone;
    self.title.font=[UIFont systemFontOfSize:18*BIZ];
    self.name.font=[UIFont systemFontOfSize:17*BIZ];
    self.title.font=[UIFont systemFontOfSize:16*BIZ];
    
    self.title.textColor=[UIColor colorWithRed:0.36 green:0.36 blue:0.37 alpha:1.00];
    self.time.textColor=[UIColor colorWithRed:0.47 green:0.47 blue:0.47 alpha:1.00];
    self.name.textColor=[TTTheme defaultManger].selectColor;
    self.address.textColor=[UIColor colorWithRed:0.34 green:0.45 blue:0.65 alpha:1.00];
}

- (void)setRecordType:(NSString *)recordType{
    _recordType=recordType;
    if(_recordType){
        if([_recordType isEqualToString:@"RECORD_01"]){
            self.image.image=[UIImage imageNamed:@"xun"];
        }else if ([_recordType isEqualToString:@"RECORD_03"]){
            self.image.image=[UIImage imageNamed:@"an"];
        }else if ([_recordType isEqualToString:@"RECORD_07"]){
            self.image.image=[UIImage imageNamed:@"work_jianc"];
        }else if ([_recordType isEqualToString:@"RECORD_08"]){
            self.image.image=[UIImage imageNamed:@"work_zhi"];
        }else if ([_recordType isEqualToString:@"RECORD_09"]){
            self.image.image=[UIImage imageNamed:@"work_jin"];
        }else if ([_recordType isEqualToString:@"RECORD_10"]){
            self.image.image=[UIImage imageNamed:@"work_cai"];
        }else if ([_recordType isEqualToString:@"RECORD_11"]){
            self.image.image=[UIImage imageNamed:@"work_yin"];
        }else if ([_recordType isEqualToString:@"RECORD_12"]){
            self.image.image=[UIImage imageNamed:@"work_shou"];
        }else if ([_recordType isEqualToString:@"RECORD_13"]){
            self.image.image=[UIImage imageNamed:@"work_jian"];
        }else if ([_recordType isEqualToString:@"RECORD_14"]){
            self.image.image=[UIImage imageNamed:@"work_hui"];
        }else{
            self.image.image=[UIImage imageNamed:@"qita"];
        }

    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
